<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
	<head>
	<LINK REL="SHORTCUT ICON" HREF="images/icon.jpg"> 
		<title></title>
		<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
	</head>
	<body>
		<table width="700" cellpadding="0" cellspacing="0" border="0" align="center">
		<c:forEach var="i" begin="0" end="${fn:length(item)-1}" step="1" varStatus ="status">
		<tr>
			<td width="50"></td>
			<td height="30" align="left" style="color: #222; font-size: 12px;">
				<b><c:out value="${item[i].FILE_TITLE }"></c:out></b>
			</td>
		</tr>	
		
		<tr>
			<td>
			</td>
			<td colspan="4" align="left">
			<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' width='470' height='320' id='single1' name='single1'>
				<param name='movie' value='${ServerURL}player.swf'>
				<param name='allowfullscreen' value='true'>
				<param name='allowscriptaccess' value='always'>
				<param name='wmode' value='transparent'>
				<param name='flashvars' value='file=${ServerURL}${item[i].FILE_PATH}${item[i].FILE_NAME}'>
				<embed type='application/x-shockwave-flash' id='single2' name='single2' src='${ServerURL}player.swf'
				width='470'
				height='320'
				bgcolor='undefined'
				allowscriptaccess='always'
				allowfullscreen='true'
				wmode='transparent'
				flashvars='file=${ServerURL}${item[i].FILE_PATH}${item[i].FILE_NAME}'/>
			</object>
			</td>
		</tr>
		<tr>
			<td></td>
			<td height="30" align="left" style="color: #222; font-size: 12px;">
				By : <b><c:out value="${item[i].PREPARED_BY }"></c:out></b><br/>
				<font style="font-size:10px;"><c:out value="${item[i].VIEW_NUMBER }"></c:out><b>Views</b></font>
			</td>
		</tr>
		<tr>
			<td></td>
			<td><p align="justify"><c:out value="${item[i].FILE_DESC }"></c:out></p></td>
		</tr>
		</c:forEach>
		<tr><td colspan="2" height="25">&nbsp;</td></tr>
</table>
</html>